package codecs;

import java.awt.Component;

/**
 * Control to get data from the BorderCodec class
 * @author	Daniel Mohr, Daniela Grammlich
 */
public class BorderCodecControl implements BorderCodecControlInterface {

	/**
	 * The height of the rectangle
	 */
	private int rectHeight;
	/**
	 * The width of the rectangle
	 */
	private int rectWidth;
	/**
	 * The x value from the offset from the upper left corner
	 */
	private int offsetX;
	/**
	 * The y value from the offset from the upper left corner
	 */
	private int offsetY;

	@Override
	public Component getControlComponent() {
		return null;
	}

	@Override
	public int getRectHeight() {
		return rectHeight;
	}

	@Override
	public void setRectHeight(int rectHeight) {
		this.rectHeight = rectHeight;
	}

	@Override
	public int getRectWidth() {
		return rectWidth;
	}

	@Override
	public void setRectWidth(int rectWidth) {
		this.rectWidth = rectWidth;
	}

	@Override
	public int getOffsetX() {
		return offsetX;
	}

	@Override
	public void setOffsetX(int offsetX) {
		this.offsetX = offsetX;
	}

	@Override
	public int getOffsetY() {
		return offsetY;
	}

	@Override
	public void setOffsetY(int offsetY) {
		this.offsetY = offsetY;
	}

}
